package cn.home.sysmanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 协议对象 home_notice
 * 
 * @author homedoctor
 * @date 2025-04-09
 */
public class HomeNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 协议id */
    private Long id;

    /** 协议内容 */
    @Excel(name = "协议内容")
    private String accord;

    /** 协议类型 */
    @Excel(name = "协议类型")
    private Long type;

    /** 扩展2 */
    @Excel(name = "扩展2")
    private String exp2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAccord(String accord) 
    {
        this.accord = accord;
    }

    public String getAccord() 
    {
        return accord;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setExp2(String exp2) 
    {
        this.exp2 = exp2;
    }

    public String getExp2() 
    {
        return exp2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accord", getAccord())
            .append("type", getType())
            .append("exp2", getExp2())
            .toString();
    }
}
